<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tinyOS: 内核核心</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">tinyOS
   &#160;<span id="projectnumber">v1.00</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">内核核心</div>  </div>
</div><!--header-->
<div class="contents">

<p>tinyOS 内核核心支持代码  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga4a0c770328891d8916c1142a26481e4a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga4a0c770328891d8916c1142a26481e4a">TICKS_PER_SEC</a>&#160;&#160;&#160;(1000 / TINYOS_SYSTICK_MS)</td></tr>
<tr class="separator:ga4a0c770328891d8916c1142a26481e4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa1ca44ad548bf5bfa2f19d7438c722a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gafa1ca44ad548bf5bfa2f19d7438c722a">NVIC_INT_CTRL</a>&#160;&#160;&#160;0xE000ED04</td></tr>
<tr class="separator:gafa1ca44ad548bf5bfa2f19d7438c722a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11166a59c430ba34e6da8e20571b58d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga11166a59c430ba34e6da8e20571b58d7">NVIC_PENDSVSET</a>&#160;&#160;&#160;0x10000000</td></tr>
<tr class="separator:ga11166a59c430ba34e6da8e20571b58d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23694ffa1ac38dfdfcc1ae1160be7397"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga23694ffa1ac38dfdfcc1ae1160be7397">NVIC_SYSPRI2</a>&#160;&#160;&#160;0xE000ED22</td></tr>
<tr class="separator:ga23694ffa1ac38dfdfcc1ae1160be7397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3612aa5e26b7da530145fdddce3850ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga3612aa5e26b7da530145fdddce3850ce">NVIC_PENDSV_PRI</a>&#160;&#160;&#160;0x000000FF</td></tr>
<tr class="separator:ga3612aa5e26b7da530145fdddce3850ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade1e623e8a7851917439eeac2019ff3f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gade1e623e8a7851917439eeac2019ff3f">MEM32</a>(addr)&#160;&#160;&#160;*(volatile unsigned long *)(addr)</td></tr>
<tr class="separator:gade1e623e8a7851917439eeac2019ff3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac66df9e288958f808f7308f40d5ebd66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac66df9e288958f808f7308f40d5ebd66">MEM8</a>(addr)&#160;&#160;&#160;*(volatile unsigned char *)(addr)</td></tr>
<tr class="separator:gac66df9e288958f808f7308f40d5ebd66"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga02ee1b01b0bf3844bd4987de0dfe0767"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga79eea102ac8c9dc0bcce5f8c63ccc55a">_tError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga02ee1b01b0bf3844bd4987de0dfe0767">tError</a></td></tr>
<tr class="separator:ga02ee1b01b0bf3844bd4987de0dfe0767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacaff12be90593624d3294e44afa349e4"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gacaff12be90593624d3294e44afa349e4">tTaskCritical_t</a></td></tr>
<tr class="separator:gacaff12be90593624d3294e44afa349e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga79eea102ac8c9dc0bcce5f8c63ccc55a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga79eea102ac8c9dc0bcce5f8c63ccc55a">_tError</a> { <br />
&#160;&#160;<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gga79eea102ac8c9dc0bcce5f8c63ccc55aab8add26d1e8bad7b6abb3c0c453fcabc">tErrorNoError</a> = 0, 
<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gga79eea102ac8c9dc0bcce5f8c63ccc55aa3d559103c30e03f6b23baa514ce4ef01">tErrorTimeout</a>, 
<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gga79eea102ac8c9dc0bcce5f8c63ccc55aa255993b8e7a6ec085f545b2cb4b0e161">tErrorResourceUnavaliable</a>, 
<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gga79eea102ac8c9dc0bcce5f8c63ccc55aa6c274bf418a43d0cf80e68161aad9d8e">tErrorDel</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gga79eea102ac8c9dc0bcce5f8c63ccc55aa3d0a1362746e1fa83fbd3b55da342a9e">tErrorResourceFull</a>, 
<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gga79eea102ac8c9dc0bcce5f8c63ccc55aadbf11a8eef09c91538ceeea00fbef507">tErrorOwner</a>
<br />
 }</td></tr>
<tr class="separator:ga79eea102ac8c9dc0bcce5f8c63ccc55a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gac9f0cf7d9a8b992eb7f43c84aeb1ddca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca">tTaskHighestReady</a> (void)</td></tr>
<tr class="memdesc:gac9f0cf7d9a8b992eb7f43c84aeb1ddca"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前最高优先级且可运行的任务  <a href="#gac9f0cf7d9a8b992eb7f43c84aeb1ddca">More...</a><br /></td></tr>
<tr class="separator:gac9f0cf7d9a8b992eb7f43c84aeb1ddca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9be6ec7675bc849423bb28132c6f3474"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9be6ec7675bc849423bb28132c6f3474">tTaskSchedInit</a> (void)</td></tr>
<tr class="memdesc:ga9be6ec7675bc849423bb28132c6f3474"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化调度器  <a href="#ga9be6ec7675bc849423bb28132c6f3474">More...</a><br /></td></tr>
<tr class="separator:ga9be6ec7675bc849423bb28132c6f3474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6df36bc0539da24c9391099f55d1d710"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6df36bc0539da24c9391099f55d1d710">tTaskSchedDisable</a> (void)</td></tr>
<tr class="memdesc:ga6df36bc0539da24c9391099f55d1d710"><td class="mdescLeft">&#160;</td><td class="mdescRight">禁止任务调度  <a href="#ga6df36bc0539da24c9391099f55d1d710">More...</a><br /></td></tr>
<tr class="separator:ga6df36bc0539da24c9391099f55d1d710"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga278230ba5b792cfe8310c110ec638e77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77">tTaskSchedEnable</a> (void)</td></tr>
<tr class="memdesc:ga278230ba5b792cfe8310c110ec638e77"><td class="mdescLeft">&#160;</td><td class="mdescRight">允许任务调度  <a href="#ga278230ba5b792cfe8310c110ec638e77">More...</a><br /></td></tr>
<tr class="separator:ga278230ba5b792cfe8310c110ec638e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab7c2dfbda696e43a8c35ab97731837a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab7c2dfbda696e43a8c35ab97731837a0">tTaskSchedRdy</a> (<a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *task)</td></tr>
<tr class="memdesc:gab7c2dfbda696e43a8c35ab97731837a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">将任务设置为就绪状态  <a href="#gab7c2dfbda696e43a8c35ab97731837a0">More...</a><br /></td></tr>
<tr class="separator:gab7c2dfbda696e43a8c35ab97731837a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f3aa47609478099b79d1520a9baf9b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6f3aa47609478099b79d1520a9baf9b3">tTaskSchedUnRdy</a> (<a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *task)</td></tr>
<tr class="memdesc:ga6f3aa47609478099b79d1520a9baf9b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">将任务从就绪列表中移除  <a href="#ga6f3aa47609478099b79d1520a9baf9b3">More...</a><br /></td></tr>
<tr class="separator:ga6f3aa47609478099b79d1520a9baf9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae85f17694aea45697d37b787702822ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae85f17694aea45697d37b787702822ad">tTaskSchedRemove</a> (<a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *task)</td></tr>
<tr class="memdesc:gae85f17694aea45697d37b787702822ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">将任务从就绪列表中移除  <a href="#gae85f17694aea45697d37b787702822ad">More...</a><br /></td></tr>
<tr class="separator:gae85f17694aea45697d37b787702822ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb48f2b93febc962f23d9a6a72db9d8e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e">tTaskSched</a> (void)</td></tr>
<tr class="memdesc:gaeb48f2b93febc962f23d9a6a72db9d8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。  <a href="#gaeb48f2b93febc962f23d9a6a72db9d8e">More...</a><br /></td></tr>
<tr class="separator:gaeb48f2b93febc962f23d9a6a72db9d8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe2af0872b3e8478d99ef5084a4afd97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gafe2af0872b3e8478d99ef5084a4afd97">tTaskDelayedInit</a> (void)</td></tr>
<tr class="memdesc:gafe2af0872b3e8478d99ef5084a4afd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化任务延时机制  <a href="#gafe2af0872b3e8478d99ef5084a4afd97">More...</a><br /></td></tr>
<tr class="separator:gafe2af0872b3e8478d99ef5084a4afd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f612696830f8adeb411745ff719377c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1f612696830f8adeb411745ff719377c">tTimeTaskWait</a> (<a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *task, uint32_t ticks)</td></tr>
<tr class="memdesc:ga1f612696830f8adeb411745ff719377c"><td class="mdescLeft">&#160;</td><td class="mdescRight">将任务加入延时队列中  <a href="#ga1f612696830f8adeb411745ff719377c">More...</a><br /></td></tr>
<tr class="separator:ga1f612696830f8adeb411745ff719377c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5086649a1a0f0337850b059e6d28807e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga5086649a1a0f0337850b059e6d28807e">tTimeTaskWakeUp</a> (<a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *task)</td></tr>
<tr class="memdesc:ga5086649a1a0f0337850b059e6d28807e"><td class="mdescLeft">&#160;</td><td class="mdescRight">将延时的任务从延时队列中唤醒  <a href="#ga5086649a1a0f0337850b059e6d28807e">More...</a><br /></td></tr>
<tr class="separator:ga5086649a1a0f0337850b059e6d28807e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga691c421f369dba6c9e2015076262d377"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga691c421f369dba6c9e2015076262d377">tTimeTaskRemove</a> (<a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *task)</td></tr>
<tr class="memdesc:ga691c421f369dba6c9e2015076262d377"><td class="mdescLeft">&#160;</td><td class="mdescRight">将延时的任务从延时队列中移除  <a href="#ga691c421f369dba6c9e2015076262d377">More...</a><br /></td></tr>
<tr class="separator:ga691c421f369dba6c9e2015076262d377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga078fb00f5d526b8036ca75e2357d34f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga078fb00f5d526b8036ca75e2357d34f6">tTimeTickInit</a> (void)</td></tr>
<tr class="memdesc:ga078fb00f5d526b8036ca75e2357d34f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化时钟节拍计数  <a href="#ga078fb00f5d526b8036ca75e2357d34f6">More...</a><br /></td></tr>
<tr class="separator:ga078fb00f5d526b8036ca75e2357d34f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9141328add126e3c2659b2df4b969d3c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c">tTaskSystemTickHandler</a> (void)</td></tr>
<tr class="memdesc:ga9141328add126e3c2659b2df4b969d3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">系统时钟节拍处理  <a href="#ga9141328add126e3c2659b2df4b969d3c">More...</a><br /></td></tr>
<tr class="separator:ga9141328add126e3c2659b2df4b969d3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1949c76c0bc7d4b976d447fbaa947f53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53">idleTaskEntry</a> (void *param)</td></tr>
<tr class="memdesc:ga1949c76c0bc7d4b976d447fbaa947f53"><td class="mdescLeft">&#160;</td><td class="mdescRight">空闲任务  <a href="#ga1949c76c0bc7d4b976d447fbaa947f53">More...</a><br /></td></tr>
<tr class="separator:ga1949c76c0bc7d4b976d447fbaa947f53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">系统入口，完成所有功能的创建，空闲任务的创建等功能  <a href="#gae66f6b31b5ad750f1fe042a706a4e3d4">More...</a><br /></td></tr>
<tr class="separator:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4d6c802c474b9071f48312bed3dec74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gacaff12be90593624d3294e44afa349e4">tTaskCritical_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74">tTaskEnterCritical</a> (void)</td></tr>
<tr class="separator:gab4d6c802c474b9071f48312bed3dec74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21b4efbc4cb710d7d0e71678d2b13e53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53">tTaskExitCritical</a> (<a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gacaff12be90593624d3294e44afa349e4">tTaskCritical_t</a> status)</td></tr>
<tr class="separator:ga21b4efbc4cb710d7d0e71678d2b13e53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0fb8703674b7e263ae5b825af16cbce5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0fb8703674b7e263ae5b825af16cbce5">tTaskRunFirst</a> (void)</td></tr>
<tr class="separator:ga0fb8703674b7e263ae5b825af16cbce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0cd2c487eac7429325389fa3ee59867d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d">tTaskSwitch</a> (void)</td></tr>
<tr class="separator:ga0cd2c487eac7429325389fa3ee59867d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7851f5bca32151d048fdf5a76e957673"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga7851f5bca32151d048fdf5a76e957673">tTaskDelay</a> (uint32_t delay)</td></tr>
<tr class="separator:ga7851f5bca32151d048fdf5a76e957673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga128c7f316762a1359035436f379a6eba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga128c7f316762a1359035436f379a6eba">tInitApp</a> (void)</td></tr>
<tr class="separator:ga128c7f316762a1359035436f379a6eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9864b7e0f6ee65dc2d179f1799a47093"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9864b7e0f6ee65dc2d179f1799a47093">tSetSysTickPeriod</a> (uint32_t ms)</td></tr>
<tr class="separator:ga9864b7e0f6ee65dc2d179f1799a47093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5542021022dfa330f2c2fe68b057677"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gad5542021022dfa330f2c2fe68b057677">tCpuUsageGet</a> (void)</td></tr>
<tr class="separator:gad5542021022dfa330f2c2fe68b057677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad628297c6eafc9b3a38fdd08377b42c5"><td class="memItemLeft" align="right" valign="top">__asm void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gad628297c6eafc9b3a38fdd08377b42c5">PendSV_Handler</a> (void)</td></tr>
<tr class="separator:gad628297c6eafc9b3a38fdd08377b42c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae823575cc1cd55db2bbc40292ec5d9e7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae823575cc1cd55db2bbc40292ec5d9e7">saveAndLoadStackAddr</a> (uint32_t stackAddr)</td></tr>
<tr class="separator:gae823575cc1cd55db2bbc40292ec5d9e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga6f232fb9d8361d1071e4f621468e0ee1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6f232fb9d8361d1071e4f621468e0ee1">currentTask</a></td></tr>
<tr class="memdesc:ga6f232fb9d8361d1071e4f621468e0ee1"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前任务：记录当前是哪个任务正在运行  <a href="#ga6f232fb9d8361d1071e4f621468e0ee1">More...</a><br /></td></tr>
<tr class="separator:ga6f232fb9d8361d1071e4f621468e0ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga159b80359c1c58e1541a4f037178b6c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga159b80359c1c58e1541a4f037178b6c4">nextTask</a></td></tr>
<tr class="memdesc:ga159b80359c1c58e1541a4f037178b6c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">下一个将即运行的任务：在进行任务切换前，先设置好该值，然后任务切换过程中会从中读取下一任务信息  <a href="#ga159b80359c1c58e1541a4f037178b6c4">More...</a><br /></td></tr>
<tr class="separator:ga159b80359c1c58e1541a4f037178b6c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3460a277b7b61d00c62e530841f0b70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaf3460a277b7b61d00c62e530841f0b70">idleTask</a></td></tr>
<tr class="separator:gaf3460a277b7b61d00c62e530841f0b70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dd55eddb8821fa31ab3a5013f454460"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structt_bitmap.html">tBitmap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga8dd55eddb8821fa31ab3a5013f454460">taskPrioBitmap</a></td></tr>
<tr class="separator:ga8dd55eddb8821fa31ab3a5013f454460"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa85dbbfc25d84923e1ad01b8bf0a145b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gaf67ae10d1af8ef6784e2c4ff16326d02">tList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaa85dbbfc25d84923e1ad01b8bf0a145b">taskTable</a> [TINYOS_PRO_COUNT]</td></tr>
<tr class="separator:gaa85dbbfc25d84923e1ad01b8bf0a145b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade0d53c8948da99a0d522eedb3ebf92a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gade0d53c8948da99a0d522eedb3ebf92a">schedLockCount</a></td></tr>
<tr class="separator:gade0d53c8948da99a0d522eedb3ebf92a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4fc7964f7a64a2a55f189f4533015f4"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaf4fc7964f7a64a2a55f189f4533015f4">tickCount</a></td></tr>
<tr class="separator:gaf4fc7964f7a64a2a55f189f4533015f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9af0df180405c517289be866c86edce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gaf67ae10d1af8ef6784e2c4ff16326d02">tList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gad9af0df180405c517289be866c86edce">tTaskDelayedList</a></td></tr>
<tr class="separator:gad9af0df180405c517289be866c86edce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9979e3c27f522bb6d13cff22efd2e488"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9979e3c27f522bb6d13cff22efd2e488">idleCount</a></td></tr>
<tr class="separator:ga9979e3c27f522bb6d13cff22efd2e488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba65b5ed5e394f5ca1f346b4a53364cf"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaba65b5ed5e394f5ca1f346b4a53364cf">idleMaxCount</a></td></tr>
<tr class="separator:gaba65b5ed5e394f5ca1f346b4a53364cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0219bd8d3d04c056d653e119239ae923"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0219bd8d3d04c056d653e119239ae923">tTaskIdle</a></td></tr>
<tr class="separator:ga0219bd8d3d04c056d653e119239ae923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaedc80c4a7812a30e8ad1ee19b6b83985"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad85a7244ee07814c23914d3cfcc91412">tTaskStack</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaedc80c4a7812a30e8ad1ee19b6b83985">idleTaskEnv</a> [TINYOS_IDLETASK_STACK_SIZE]</td></tr>
<tr class="separator:gaedc80c4a7812a30e8ad1ee19b6b83985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f232fb9d8361d1071e4f621468e0ee1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6f232fb9d8361d1071e4f621468e0ee1">currentTask</a></td></tr>
<tr class="memdesc:ga6f232fb9d8361d1071e4f621468e0ee1"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前任务：记录当前是哪个任务正在运行  <a href="#ga6f232fb9d8361d1071e4f621468e0ee1">More...</a><br /></td></tr>
<tr class="separator:ga6f232fb9d8361d1071e4f621468e0ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga159b80359c1c58e1541a4f037178b6c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga159b80359c1c58e1541a4f037178b6c4">nextTask</a></td></tr>
<tr class="memdesc:ga159b80359c1c58e1541a4f037178b6c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">下一个将即运行的任务：在进行任务切换前，先设置好该值，然后任务切换过程中会从中读取下一任务信息  <a href="#ga159b80359c1c58e1541a4f037178b6c4">More...</a><br /></td></tr>
<tr class="separator:ga159b80359c1c58e1541a4f037178b6c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>tinyOS 内核核心支持代码 </p>
<p>tinyOS任务切换与CPU相关的函数</p>
<p>tinyOS的核心头文件。包含了所有关键数据类型的定义，还有核心的函数。</p>
<dl class="section author"><dt>Author</dt><dd>01课堂 lishutong </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2017-06-01 </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.0 </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>版权所有，禁止用于商业用途 </dd></dl>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gade1e623e8a7851917439eeac2019ff3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gade1e623e8a7851917439eeac2019ff3f">&#9670;&nbsp;</a></span>MEM32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MEM32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">addr</td><td>)</td>
          <td>&#160;&#160;&#160;*(volatile unsigned long *)(addr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00029">29</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>

</div>
</div>
<a id="gac66df9e288958f808f7308f40d5ebd66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac66df9e288958f808f7308f40d5ebd66">&#9670;&nbsp;</a></span>MEM8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MEM8</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">addr</td><td>)</td>
          <td>&#160;&#160;&#160;*(volatile unsigned char *)(addr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00030">30</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>

</div>
</div>
<a id="gafa1ca44ad548bf5bfa2f19d7438c722a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa1ca44ad548bf5bfa2f19d7438c722a">&#9670;&nbsp;</a></span>NVIC_INT_CTRL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NVIC_INT_CTRL&#160;&#160;&#160;0xE000ED04</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00024">24</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>

</div>
</div>
<a id="ga3612aa5e26b7da530145fdddce3850ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3612aa5e26b7da530145fdddce3850ce">&#9670;&nbsp;</a></span>NVIC_PENDSV_PRI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NVIC_PENDSV_PRI&#160;&#160;&#160;0x000000FF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00027">27</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>

</div>
</div>
<a id="ga11166a59c430ba34e6da8e20571b58d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga11166a59c430ba34e6da8e20571b58d7">&#9670;&nbsp;</a></span>NVIC_PENDSVSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NVIC_PENDSVSET&#160;&#160;&#160;0x10000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00025">25</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>

</div>
</div>
<a id="ga23694ffa1ac38dfdfcc1ae1160be7397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga23694ffa1ac38dfdfcc1ae1160be7397">&#9670;&nbsp;</a></span>NVIC_SYSPRI2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NVIC_SYSPRI2&#160;&#160;&#160;0xE000ED22</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00026">26</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>

</div>
</div>
<a id="ga4a0c770328891d8916c1142a26481e4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a0c770328891d8916c1142a26481e4a">&#9670;&nbsp;</a></span>TICKS_PER_SEC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TICKS_PER_SEC&#160;&#160;&#160;(1000 / TINYOS_SYSTICK_MS)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="tiny_o_s_8h_source.html#l00030">30</a> of file <a class="el" href="tiny_o_s_8h_source.html">tinyOS.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga02ee1b01b0bf3844bd4987de0dfe0767"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga02ee1b01b0bf3844bd4987de0dfe0767">&#9670;&nbsp;</a></span>tError</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga79eea102ac8c9dc0bcce5f8c63ccc55a">_tError</a>  <a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga02ee1b01b0bf3844bd4987de0dfe0767">tError</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gacaff12be90593624d3294e44afa349e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacaff12be90593624d3294e44afa349e4">&#9670;&nbsp;</a></span>tTaskCritical_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef uint32_t <a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gacaff12be90593624d3294e44afa349e4">tTaskCritical_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="tiny_o_s_8h_source.html#l00048">48</a> of file <a class="el" href="tiny_o_s_8h_source.html">tinyOS.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga79eea102ac8c9dc0bcce5f8c63ccc55a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga79eea102ac8c9dc0bcce5f8c63ccc55a">&#9670;&nbsp;</a></span>_tError</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga79eea102ac8c9dc0bcce5f8c63ccc55a">_tError</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga79eea102ac8c9dc0bcce5f8c63ccc55aab8add26d1e8bad7b6abb3c0c453fcabc"></a>tErrorNoError&#160;</td><td class="fielddoc"><p>没有错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga79eea102ac8c9dc0bcce5f8c63ccc55aa3d559103c30e03f6b23baa514ce4ef01"></a>tErrorTimeout&#160;</td><td class="fielddoc"><p>等待超时 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga79eea102ac8c9dc0bcce5f8c63ccc55aa255993b8e7a6ec085f545b2cb4b0e161"></a>tErrorResourceUnavaliable&#160;</td><td class="fielddoc"><p>资源不可用 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga79eea102ac8c9dc0bcce5f8c63ccc55aa6c274bf418a43d0cf80e68161aad9d8e"></a>tErrorDel&#160;</td><td class="fielddoc"><p>被删除 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga79eea102ac8c9dc0bcce5f8c63ccc55aa3d0a1362746e1fa83fbd3b55da342a9e"></a>tErrorResourceFull&#160;</td><td class="fielddoc"><p>资源缓冲区满 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga79eea102ac8c9dc0bcce5f8c63ccc55aadbf11a8eef09c91538ceeea00fbef507"></a>tErrorOwner&#160;</td><td class="fielddoc"><p>不匹配的所有者 </p>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="tiny_o_s_8h_source.html#l00033">33</a> of file <a class="el" href="tiny_o_s_8h_source.html">tinyOS.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga1949c76c0bc7d4b976d447fbaa947f53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1949c76c0bc7d4b976d447fbaa947f53">&#9670;&nbsp;</a></span>idleTaskEntry()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void idleTaskEntry </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>param</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>空闲任务 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">param</td><td>空闲任务的初始参数 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00340">340</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6df36bc0539da24c9391099f55d1d710" title="禁止任务调度 " alt="" coords="334,27,468,52"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="522,52,647,77"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="527,128,642,153"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga128c7f316762a1359035436f379a6eba" title="tInitApp" alt="" coords="187,228,253,253"/>
<area shape="rect" id="node6" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga6013a8ecf7fc98794f130d4bfb5f6402" title="tTimerInitTask" alt="" coords="168,277,272,303"/>
<area shape="rect" id="node13" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9864b7e0f6ee65dc2d179f1799a47093" title="tSetSysTickPeriod" alt="" coords="155,327,285,352"/>
<area shape="rect" id="node14" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="154,179,286,204"/>
<area shape="rect" id="node22" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#ga4c444a8e6a58c580a94955392f235dc3" title="tHooksCpuIdle" alt="" coords="165,376,274,401"/>
<area shape="rect" id="node7" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga639ee038febea3c977d37585fcc8a573" title="tTaskInit" alt="" coords="366,351,436,376"/>
<area shape="rect" id="node8" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gae1557d8978ed3d8374e2ab3f0920c860" title="tNodeInit" alt="" coords="547,327,622,352"/>
<area shape="rect" id="node9" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab7c2dfbda696e43a8c35ab97731837a0" title="将任务设置为就绪状态 " alt="" coords="528,376,642,401"/>
<area shape="rect" id="node12" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#ga7c4f462bd1d7e22836519312218b8f1e" title="tHooksTaskInit" alt="" coords="531,425,639,451"/>
<area shape="rect" id="node10" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga6278d548e9b37d514acbebc25617f1b6" title="tListAddLast" alt="" coords="720,363,815,388"/>
<area shape="rect" id="node11" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga77e6ff906f4751ea7f055562b94cad54" title="tBitmapSet" alt="" coords="724,412,811,437"/>
<area shape="rect" id="node15" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="356,229,446,255"/>
<area shape="rect" id="node16" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca" title="获取当前最高优先级且可运行的任务 " alt="" coords="516,277,653,303"/>
<area shape="rect" id="node20" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#gaf5f3298fd391c362d819f3a765834091" title="tHooksTaskSwitch" alt="" coords="520,179,649,204"/>
<area shape="rect" id="node21" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d" title="tTaskSwitch" alt="" coords="539,228,630,253"/>
<area shape="rect" id="node17" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="701,240,835,265"/>
<area shape="rect" id="node19" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="732,289,803,315"/>
<area shape="rect" id="node18" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="883,240,1008,265"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1949c76c0bc7d4b976d447fbaa947f53_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="154,5,204,31"/>
</map>
</div>

</div>
</div>
<a id="gae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&nbsp;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>系统入口，完成所有功能的创建，空闲任务的创建等功能 </p>
<dl class="section return"><dt>Returns</dt><dd>0, 无用 </dd></dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00378">378</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae66f6b31b5ad750f1fe042a706a4e3d4_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae66f6b31b5ad750f1fe042a706a4e3d4_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae66f6b31b5ad750f1fe042a706a4e3d4_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9be6ec7675bc849423bb28132c6f3474" title="初始化调度器 " alt="" coords="110,56,218,81"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gafe2af0872b3e8478d99ef5084a4afd97" title="初始化任务延时机制 " alt="" coords="459,107,578,132"/>
<area shape="rect" id="node6" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga62301aa36a38ff645bdf05136b3fd6cf" title="tTimerModuleInit" alt="" coords="104,159,224,184"/>
<area shape="rect" id="node9" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga078fb00f5d526b8036ca75e2357d34f6" title="初始化时钟节拍计数 " alt="" coords="116,208,212,233"/>
<area shape="rect" id="node10" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga639ee038febea3c977d37585fcc8a573" title="tTaskInit" alt="" coords="484,284,554,309"/>
<area shape="rect" id="node16" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="113,461,214,487"/>
<area shape="rect" id="node25" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca" title="获取当前最高优先级且可运行的任务 " alt="" coords="634,699,770,724"/>
<area shape="rect" id="node32" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0fb8703674b7e263ae5b825af16cbce5" title="tTaskRunFirst" alt="" coords="112,763,215,788"/>
<area shape="rect" id="node3" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gabe65280030fc295bb9eecc4a8672544f" title="tBitmapInit" alt="" coords="295,5,380,31"/>
<area shape="rect" id="node4" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gab4cbecbc9ce397733c027de83ce17f81" title="tListInit" alt="" coords="671,132,734,157"/>
<area shape="rect" id="node7" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga1a48fab4ce73fc72b1a2ed6fa8771f8e" title="tSemInit" alt="" coords="302,208,373,233"/>
<area shape="rect" id="node8" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga5ca43de9442770133c4c2ac38e696049" title="tEventInit" alt="" coords="480,208,557,233"/>
<area shape="rect" id="node11" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gae1557d8978ed3d8374e2ab3f0920c860" title="tNodeInit" alt="" coords="665,235,740,260"/>
<area shape="rect" id="node12" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab7c2dfbda696e43a8c35ab97731837a0" title="将任务设置为就绪状态 " alt="" coords="645,284,759,309"/>
<area shape="rect" id="node15" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#ga7c4f462bd1d7e22836519312218b8f1e" title="tHooksTaskInit" alt="" coords="648,333,756,359"/>
<area shape="rect" id="node13" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga6278d548e9b37d514acbebc25617f1b6" title="tListAddLast" alt="" coords="838,260,933,285"/>
<area shape="rect" id="node14" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga77e6ff906f4751ea7f055562b94cad54" title="tBitmapSet" alt="" coords="842,309,929,335"/>
<area shape="rect" id="node17" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6df36bc0539da24c9391099f55d1d710" title="禁止任务调度 " alt="" coords="451,411,586,436"/>
<area shape="rect" id="node18" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="640,436,765,461"/>
<area shape="rect" id="node19" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="645,525,760,551"/>
<area shape="rect" id="node20" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga128c7f316762a1359035436f379a6eba" title="tInitApp" alt="" coords="304,563,371,588"/>
<area shape="rect" id="node21" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga6013a8ecf7fc98794f130d4bfb5f6402" title="tTimerInitTask" alt="" coords="286,309,390,335"/>
<area shape="rect" id="node22" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9864b7e0f6ee65dc2d179f1799a47093" title="tSetSysTickPeriod" alt="" coords="273,612,402,637"/>
<area shape="rect" id="node23" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="272,461,403,487"/>
<area shape="rect" id="node31" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#ga4c444a8e6a58c580a94955392f235dc3" title="tHooksCpuIdle" alt="" coords="283,661,392,687"/>
<area shape="rect" id="node24" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="474,613,564,639"/>
<area shape="rect" id="node29" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#gaf5f3298fd391c362d819f3a765834091" title="tHooksTaskSwitch" alt="" coords="638,588,767,613"/>
<area shape="rect" id="node30" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d" title="tTaskSwitch" alt="" coords="656,637,748,663"/>
<area shape="rect" id="node26" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="818,673,952,699"/>
<area shape="rect" id="node28" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="850,723,921,748"/>
<area shape="rect" id="node27" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="1000,673,1125,699"/>
</map>
</div>

</div>
</div>
<a id="gad628297c6eafc9b3a38fdd08377b42c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad628297c6eafc9b3a38fdd08377b42c5">&#9670;&nbsp;</a></span>PendSV_Handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__asm void PendSV_Handler </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>PendSV异常处理函数，用于任务切换 </p>

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00054">54</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad628297c6eafc9b3a38fdd08377b42c5_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad628297c6eafc9b3a38fdd08377b42c5_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad628297c6eafc9b3a38fdd08377b42c5_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad628297c6eafc9b3a38fdd08377b42c5_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae823575cc1cd55db2bbc40292ec5d9e7" title="saveAndLoadStackAddr" alt="" coords="178,5,342,31"/>
</map>
</div>

</div>
</div>
<a id="gae823575cc1cd55db2bbc40292ec5d9e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae823575cc1cd55db2bbc40292ec5d9e7">&#9670;&nbsp;</a></span>saveAndLoadStackAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t saveAndLoadStackAddr </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>stackAddr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>保存前一任务栈地址，获取下一任务栈地址 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stackAddr</td><td>前一任务栈地址 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>下一要运行的任务栈地址 </dd></dl>

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00074">74</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae823575cc1cd55db2bbc40292ec5d9e7_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae823575cc1cd55db2bbc40292ec5d9e7_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae823575cc1cd55db2bbc40292ec5d9e7_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae823575cc1cd55db2bbc40292ec5d9e7_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gad628297c6eafc9b3a38fdd08377b42c5" title="PendSV_Handler" alt="" coords="218,5,342,31"/>
</map>
</div>

</div>
</div>
<a id="gad5542021022dfa330f2c2fe68b057677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5542021022dfa330f2c2fe68b057677">&#9670;&nbsp;</a></span>tCpuUsageGet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float tCpuUsageGet </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad5542021022dfa330f2c2fe68b057677_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad5542021022dfa330f2c2fe68b057677_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad5542021022dfa330f2c2fe68b057677_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gad5542021022dfa330f2c2fe68b057677_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="163,5,330,31"/>
</map>
</div>

</div>
</div>
<a id="ga128c7f316762a1359035436f379a6eba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga128c7f316762a1359035436f379a6eba">&#9670;&nbsp;</a></span>tInitApp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tInitApp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga128c7f316762a1359035436f379a6eba_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga128c7f316762a1359035436f379a6eba_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga128c7f316762a1359035436f379a6eba_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga128c7f316762a1359035436f379a6eba_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="120,5,221,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="269,5,319,31"/>
</map>
</div>

</div>
</div>
<a id="ga9864b7e0f6ee65dc2d179f1799a47093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9864b7e0f6ee65dc2d179f1799a47093">&#9670;&nbsp;</a></span>tSetSysTickPeriod()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tSetSysTickPeriod </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ms</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9864b7e0f6ee65dc2d179f1799a47093_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9864b7e0f6ee65dc2d179f1799a47093_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9864b7e0f6ee65dc2d179f1799a47093_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9864b7e0f6ee65dc2d179f1799a47093_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="183,5,284,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="332,5,382,31"/>
</map>
</div>

</div>
</div>
<a id="ga7851f5bca32151d048fdf5a76e957673"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7851f5bca32151d048fdf5a76e957673">&#9670;&nbsp;</a></span>tTaskDelay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskDelay </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>delay</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>使当前任务进入延时状态 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">delay</td><td>延时多少个ticks </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_time_8c_source.html#l00020">20</a> of file <a class="el" href="t_time_8c_source.html">tTime.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga7851f5bca32151d048fdf5a76e957673_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga7851f5bca32151d048fdf5a76e957673_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga7851f5bca32151d048fdf5a76e957673_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga7851f5bca32151d048fdf5a76e957673_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="324,5,450,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1f612696830f8adeb411745ff719377c" title="将任务加入延时队列中 " alt="" coords="151,204,259,229"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6f3aa47609478099b79d1520a9baf9b3" title="将任务从就绪列表中移除 " alt="" coords="140,325,271,351"/>
<area shape="rect" id="node9" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="160,107,251,132"/>
<area shape="rect" id="node10" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="329,55,445,80"/>
<area shape="rect" id="node4" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga6278d548e9b37d514acbebc25617f1b6" title="tListAddLast" alt="" coords="340,252,434,277"/>
<area shape="rect" id="node6" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga58e2fef327c5254062441ec2f8a101a6" title="tListRemove" alt="" coords="339,301,435,327"/>
<area shape="rect" id="node7" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gad01c0c24187a334e78e7ba6d677306cb" title="tListCount" alt="" coords="346,351,428,376"/>
<area shape="rect" id="node8" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga63a37ae88a06249de873bb54340de517" title="tBitmapClear" alt="" coords="338,400,436,425"/>
<area shape="rect" id="node11" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca" title="获取当前最高优先级且可运行的任务 " alt="" coords="319,104,455,129"/>
<area shape="rect" id="node15" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#gaf5f3298fd391c362d819f3a765834091" title="tHooksTaskSwitch" alt="" coords="322,153,452,179"/>
<area shape="rect" id="node16" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d" title="tTaskSwitch" alt="" coords="341,203,433,228"/>
<area shape="rect" id="node12" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="503,79,637,104"/>
<area shape="rect" id="node14" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="534,128,606,153"/>
<area shape="rect" id="node13" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="685,79,810,104"/>
</map>
</div>

</div>
</div>
<a id="gafe2af0872b3e8478d99ef5084a4afd97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe2af0872b3e8478d99ef5084a4afd97">&#9670;&nbsp;</a></span>tTaskDelayedInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskDelayedInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化任务延时机制 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00158">158</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gab4cbecbc9ce397733c027de83ce17f81" title="tListInit" alt="" coords="172,5,236,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gafe2af0872b3e8478d99ef5084a4afd97_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="172,5,223,31"/>
</map>
</div>

</div>
</div>
<a id="gab4d6c802c474b9071f48312bed3dec74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4d6c802c474b9071f48312bed3dec74">&#9670;&nbsp;</a></span>tTaskEnterCritical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t tTaskEnterCritical </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>进入临界区 </p><dl class="section return"><dt>Returns</dt><dd>进入之前的临界区状态值 </dd></dl>

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00036">36</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab4d6c802c474b9071f48312bed3dec74_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab4d6c802c474b9071f48312bed3dec74_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab4d6c802c474b9071f48312bed3dec74_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab4d6c802c474b9071f48312bed3dec74_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6df36bc0539da24c9391099f55d1d710" title="禁止任务调度 " alt="" coords="194,5,329,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="608,56,708,81"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="393,107,525,132"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="574,208,742,233"/>
<area shape="rect" id="node6" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="216,815,306,840"/>
<area shape="rect" id="node7" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="392,360,526,385"/>
<area shape="rect" id="node8" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="417,664,501,689"/>
<area shape="rect" id="node9" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="413,1321,505,1347"/>
<area shape="rect" id="node10" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="407,311,511,336"/>
<area shape="rect" id="node11" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="403,615,516,640"/>
<area shape="rect" id="node12" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="399,1397,520,1423"/>
<area shape="rect" id="node13" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="393,411,526,436"/>
<area shape="rect" id="node14" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="415,713,503,739"/>
<area shape="rect" id="node15" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="412,1460,507,1485"/>
<area shape="rect" id="node16" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="406,461,513,487"/>
<area shape="rect" id="node17" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="420,865,499,891"/>
<area shape="rect" id="node18" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="615,1169,701,1195"/>
<area shape="rect" id="node19" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="615,1220,701,1245"/>
<area shape="rect" id="node20" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="416,1220,503,1245"/>
<area shape="rect" id="node21" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="410,512,508,537"/>
<area shape="rect" id="node22" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga9b1df557da8292af30d6ff42b48e0755" title="tTaskSuspend" alt="" coords="407,916,512,941"/>
<area shape="rect" id="node23" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gac08bc12c30a810c1ec5c48f330fd509a" title="tTaskWakeUp" alt="" coords="408,967,511,992"/>
<area shape="rect" id="node24" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="397,1016,522,1041"/>
<area shape="rect" id="node25" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7e75a9fc2e7d9ca0bf62d519db50de00" title="tTaskDeleteSelf" alt="" coords="402,1067,516,1092"/>
<area shape="rect" id="node26" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="416,1117,503,1143"/>
<area shape="rect" id="node27" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga0bbda829b0d83072138caad66f98899a" title="tEventWait" alt="" coords="219,664,304,689"/>
<area shape="rect" id="node28" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gae1e675e01faa9fd2a37ab29b2092d646" title="tEventWakeUp" alt="" coords="206,1372,316,1397"/>
<area shape="rect" id="node29" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gaf035c08c00e607bf3019020ee09bf3c8" title="tEventWakeUpTask" alt="" coords="193,1879,330,1904"/>
<area shape="rect" id="node30" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga8d21f6237cc8ac3ec38687e1f7fa4999" title="tEventRemoveTask" alt="" coords="193,208,329,233"/>
<area shape="rect" id="node31" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gace850c06cc2fc2f07296e1eb4552030a" title="tEventRemoveAll" alt="" coords="200,360,323,385"/>
<area shape="rect" id="node32" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga312cd12071f2d18172b4020079af49a2" title="tEventWaitCount" alt="" coords="201,1575,322,1600"/>
<area shape="rect" id="node33" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga47a4f2555b2ea01ffacb722a802fef9a" title="tFlagGroupGetInfo" alt="" coords="393,1524,525,1549"/>
<area shape="rect" id="node34" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#gaa37bb91261b5b19d6c7d72a88a52a457" title="tMboxFlush" alt="" coords="414,1576,504,1601"/>
<area shape="rect" id="node35" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#gae8b08f83ec686fdd556c12baaa3a4a48" title="tMboxGetInfo" alt="" coords="409,1629,510,1655"/>
<area shape="rect" id="node36" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gacb1cf37f4aa43734f48d3faee0883a13" title="tMemBlockGetInfo" alt="" coords="394,1685,525,1711"/>
<area shape="rect" id="node37" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga01ba0fbff6eaeae119c26db5573f358a" title="tMutexGetInfo" alt="" coords="407,1748,512,1773"/>
<area shape="rect" id="node38" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga477f63052c68e3a6ff28b7302291b3cf" title="tSemGetInfo" alt="" coords="411,1825,507,1851"/>
<area shape="rect" id="node39" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#gad897d153498b3c0ad698e1ac30fbd947" title="tFlagGroupWait" alt="" coords="204,1928,318,1953"/>
<area shape="rect" id="node40" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga8bd5ce7dc483b4a57bb2c5212d5f00c8" title="tFlagGroupNoWaitGet" alt="" coords="185,1977,338,2003"/>
<area shape="rect" id="node41" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#gab7797f8897babeef894dd3d2e90ccf8c" title="tFlagGroupNotify" alt="" coords="200,2027,322,2052"/>
<area shape="rect" id="node42" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga24727b25fe713d402f2f3aa21d6ea98b" title="tMboxNoWaitGet" alt="" coords="200,2076,323,2101"/>
<area shape="rect" id="node43" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gac5c449adc2d5137dad06af15945cb160" title="tMemBlockNoWaitGet" alt="" coords="185,2125,337,2151"/>
<area shape="rect" id="node44" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga26ec3e3848541464c9ba38de67875e11" title="tMutexNoWaitGet" alt="" coords="198,2175,324,2200"/>
<area shape="rect" id="node45" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gac0e48f858c5a926f878b2815702307a0" title="tSemNoWaitGet" alt="" coords="203,2224,320,2249"/>
<area shape="rect" id="node46" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga0e06a0c4378977bc86236ac4e61ae10e" title="tTaskRequestDelete" alt="" coords="191,2273,332,2299"/>
<area shape="rect" id="node47" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga113466abdb6e224bd4da771809432819" title="tTaskIsRequestedDelete" alt="" coords="178,2323,344,2348"/>
<area shape="rect" id="node48" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga5713566b36243903f668bd8ecfd41f71" title="tTaskGetInfo" alt="" coords="213,2372,309,2397"/>
<area shape="rect" id="node49" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#gade22d847f45a6140702a67ace6b34978" title="tTimerGetInfo" alt="" coords="210,2421,313,2447"/>
<area shape="rect" id="node50" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#gae4ae5ad72b29fa9cfcf5444de2d3be63" title="tTimerModuleTickNotify" alt="" coords="181,765,342,791"/>
</map>
</div>

</div>
</div>
<a id="ga21b4efbc4cb710d7d0e71678d2b13e53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga21b4efbc4cb710d7d0e71678d2b13e53">&#9670;&nbsp;</a></span>tTaskExitCritical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskExitCritical </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>退出临界区,恢复之前的临界区状态 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>进入临界区之前的CPU </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>进入临界区之前的临界区状态值 </dd></dl>

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00047">47</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga21b4efbc4cb710d7d0e71678d2b13e53_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga21b4efbc4cb710d7d0e71678d2b13e53_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga21b4efbc4cb710d7d0e71678d2b13e53_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga21b4efbc4cb710d7d0e71678d2b13e53_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga6df36bc0539da24c9391099f55d1d710" title="禁止任务调度 " alt="" coords="184,76,319,102"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="598,76,699,102"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="384,178,515,203"/>
<area shape="rect" id="node6" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="565,203,732,228"/>
<area shape="rect" id="node7" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="207,786,297,811"/>
<area shape="rect" id="node8" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="383,331,517,356"/>
<area shape="rect" id="node9" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="408,636,492,662"/>
<area shape="rect" id="node10" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="404,1292,495,1318"/>
<area shape="rect" id="node11" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="398,380,501,406"/>
<area shape="rect" id="node12" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="393,686,506,711"/>
<area shape="rect" id="node13" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="389,1368,510,1394"/>
<area shape="rect" id="node14" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="383,431,516,456"/>
<area shape="rect" id="node15" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="406,735,493,760"/>
<area shape="rect" id="node16" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="402,1431,497,1456"/>
<area shape="rect" id="node17" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="396,482,503,507"/>
<area shape="rect" id="node18" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="410,836,489,862"/>
<area shape="rect" id="node19" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="605,887,692,912"/>
<area shape="rect" id="node20" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="605,1191,691,1216"/>
<area shape="rect" id="node22" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="406,1242,493,1267"/>
<area shape="rect" id="node23" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="400,532,499,558"/>
<area shape="rect" id="node24" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga9b1df557da8292af30d6ff42b48e0755" title="tTaskSuspend" alt="" coords="397,938,502,963"/>
<area shape="rect" id="node25" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gac08bc12c30a810c1ec5c48f330fd509a" title="tTaskWakeUp" alt="" coords="398,987,501,1012"/>
<area shape="rect" id="node26" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="387,1036,512,1062"/>
<area shape="rect" id="node27" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7e75a9fc2e7d9ca0bf62d519db50de00" title="tTaskDeleteSelf" alt="" coords="393,1087,507,1112"/>
<area shape="rect" id="node28" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="406,1139,493,1164"/>
<area shape="rect" id="node29" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga0bbda829b0d83072138caad66f98899a" title="tEventWait" alt="" coords="209,684,294,710"/>
<area shape="rect" id="node30" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gae1e675e01faa9fd2a37ab29b2092d646" title="tEventWakeUp" alt="" coords="197,1343,307,1368"/>
<area shape="rect" id="node31" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gaf035c08c00e607bf3019020ee09bf3c8" title="tEventWakeUpTask" alt="" coords="183,1850,320,1875"/>
<area shape="rect" id="node32" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga8d21f6237cc8ac3ec38687e1f7fa4999" title="tEventRemoveTask" alt="" coords="184,127,320,152"/>
<area shape="rect" id="node33" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gace850c06cc2fc2f07296e1eb4552030a" title="tEventRemoveAll" alt="" coords="190,380,313,406"/>
<area shape="rect" id="node34" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga312cd12071f2d18172b4020079af49a2" title="tEventWaitCount" alt="" coords="191,1546,312,1571"/>
<area shape="rect" id="node35" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga47a4f2555b2ea01ffacb722a802fef9a" title="tFlagGroupGetInfo" alt="" coords="384,1495,515,1520"/>
<area shape="rect" id="node36" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#gaa37bb91261b5b19d6c7d72a88a52a457" title="tMboxFlush" alt="" coords="404,1547,495,1572"/>
<area shape="rect" id="node37" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#gae8b08f83ec686fdd556c12baaa3a4a48" title="tMboxGetInfo" alt="" coords="399,1600,500,1626"/>
<area shape="rect" id="node38" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gacb1cf37f4aa43734f48d3faee0883a13" title="tMemBlockGetInfo" alt="" coords="384,1656,515,1682"/>
<area shape="rect" id="node39" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga01ba0fbff6eaeae119c26db5573f358a" title="tMutexGetInfo" alt="" coords="397,1719,502,1744"/>
<area shape="rect" id="node40" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga477f63052c68e3a6ff28b7302291b3cf" title="tSemGetInfo" alt="" coords="402,1796,498,1822"/>
<area shape="rect" id="node41" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga24727b25fe713d402f2f3aa21d6ea98b" title="tMboxNoWaitGet" alt="" coords="191,1899,313,1924"/>
<area shape="rect" id="node42" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gac5c449adc2d5137dad06af15945cb160" title="tMemBlockNoWaitGet" alt="" coords="176,1948,328,1974"/>
<area shape="rect" id="node43" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga26ec3e3848541464c9ba38de67875e11" title="tMutexNoWaitGet" alt="" coords="189,1998,315,2023"/>
<area shape="rect" id="node44" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gac0e48f858c5a926f878b2815702307a0" title="tSemNoWaitGet" alt="" coords="193,2047,310,2072"/>
<area shape="rect" id="node45" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga0e06a0c4378977bc86236ac4e61ae10e" title="tTaskRequestDelete" alt="" coords="181,2096,322,2122"/>
<area shape="rect" id="node46" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga113466abdb6e224bd4da771809432819" title="tTaskIsRequestedDelete" alt="" coords="169,2146,335,2171"/>
<area shape="rect" id="node47" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga5713566b36243903f668bd8ecfd41f71" title="tTaskGetInfo" alt="" coords="204,2195,300,2220"/>
<area shape="rect" id="node48" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#gade22d847f45a6140702a67ace6b34978" title="tTimerGetInfo" alt="" coords="201,2244,303,2270"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="807,76,858,102"/>
<area shape="rect" id="node21" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="780,1191,885,1216"/>
</map>
</div>

</div>
</div>
<a id="gac9f0cf7d9a8b992eb7f43c84aeb1ddca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac9f0cf7d9a8b992eb7f43c84aeb1ddca">&#9670;&nbsp;</a></span>tTaskHighestReady()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> * tTaskHighestReady </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前最高优先级且可运行的任务 </p>
<dl class="section return"><dt>Returns</dt><dd>优先级最高的且可运行的任务 </dd></dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00042">42</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_cgraph">
<area shape="rect" id="node2" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="190,5,323,31"/>
<area shape="rect" id="node4" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="221,55,292,80"/>
<area shape="rect" id="node3" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="371,5,497,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gac9f0cf7d9a8b992eb7f43c84aeb1ddca_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="190,496,280,522"/>
<area shape="rect" id="node6" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="752,24,803,50"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="329,50,461,75"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="510,150,677,175"/>
<area shape="rect" id="node7" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="328,299,462,324"/>
<area shape="rect" id="node8" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="353,348,437,374"/>
<area shape="rect" id="node9" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="349,398,441,423"/>
<area shape="rect" id="node10" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="343,447,447,472"/>
<area shape="rect" id="node11" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="338,496,452,522"/>
<area shape="rect" id="node12" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="334,546,455,571"/>
<area shape="rect" id="node13" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="328,595,461,620"/>
<area shape="rect" id="node14" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="351,644,439,670"/>
<area shape="rect" id="node15" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="347,694,442,719"/>
<area shape="rect" id="node16" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="341,743,448,768"/>
<area shape="rect" id="node17" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="355,842,434,867"/>
<area shape="rect" id="node21" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="352,792,438,818"/>
<area shape="rect" id="node22" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="346,891,444,916"/>
<area shape="rect" id="node23" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga9b1df557da8292af30d6ff42b48e0755" title="tTaskSuspend" alt="" coords="342,940,447,966"/>
<area shape="rect" id="node24" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gac08bc12c30a810c1ec5c48f330fd509a" title="tTaskWakeUp" alt="" coords="343,990,446,1015"/>
<area shape="rect" id="node25" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="332,99,457,124"/>
<area shape="rect" id="node26" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7e75a9fc2e7d9ca0bf62d519db50de00" title="tTaskDeleteSelf" alt="" coords="338,148,452,174"/>
<area shape="rect" id="node27" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="352,250,438,275"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="543,50,644,75"/>
<area shape="rect" id="node18" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="550,842,637,867"/>
<area shape="rect" id="node19" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="551,792,637,818"/>
<area shape="rect" id="node20" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="725,792,830,818"/>
</map>
</div>

</div>
</div>
<a id="ga0fb8703674b7e263ae5b825af16cbce5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0fb8703674b7e263ae5b825af16cbce5">&#9670;&nbsp;</a></span>tTaskRunFirst()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskRunFirst </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>在启动tinyOS时，调用该函数，将切换至第一个任务运行 </p>

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00085">85</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0fb8703674b7e263ae5b825af16cbce5_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0fb8703674b7e263ae5b825af16cbce5_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0fb8703674b7e263ae5b825af16cbce5_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0fb8703674b7e263ae5b825af16cbce5_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="156,5,206,31"/>
</map>
</div>

</div>
</div>
<a id="gaeb48f2b93febc962f23d9a6a72db9d8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb48f2b93febc962f23d9a6a72db9d8e">&#9670;&nbsp;</a></span>tTaskSched()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSched </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00126">126</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="149,5,274,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="154,55,269,80"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca" title="获取当前最高优先级且可运行的任务 " alt="" coords="144,104,280,129"/>
<area shape="rect" id="node8" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#gaf5f3298fd391c362d819f3a765834091" title="tHooksTaskSwitch" alt="" coords="147,153,276,179"/>
<area shape="rect" id="node9" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d" title="tTaskSwitch" alt="" coords="166,203,258,228"/>
<area shape="rect" id="node5" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="328,80,462,105"/>
<area shape="rect" id="node7" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="359,129,431,155"/>
<area shape="rect" id="node6" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="510,80,635,105"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gaeb48f2b93febc962f23d9a6a72db9d8e_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="145,61,276,86"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="326,12,493,37"/>
<area shape="rect" id="node6" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="144,110,278,136"/>
<area shape="rect" id="node7" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="169,160,252,185"/>
<area shape="rect" id="node8" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="165,209,256,234"/>
<area shape="rect" id="node9" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="159,258,262,284"/>
<area shape="rect" id="node10" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="154,308,267,333"/>
<area shape="rect" id="node11" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="150,357,271,382"/>
<area shape="rect" id="node12" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="144,406,277,432"/>
<area shape="rect" id="node13" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="167,456,254,481"/>
<area shape="rect" id="node14" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="163,505,258,530"/>
<area shape="rect" id="node15" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="157,554,264,580"/>
<area shape="rect" id="node16" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="171,604,250,629"/>
<area shape="rect" id="node20" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="167,653,254,678"/>
<area shape="rect" id="node21" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="161,702,260,728"/>
<area shape="rect" id="node22" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga9b1df557da8292af30d6ff42b48e0755" title="tTaskSuspend" alt="" coords="158,752,263,777"/>
<area shape="rect" id="node23" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gac08bc12c30a810c1ec5c48f330fd509a" title="tTaskWakeUp" alt="" coords="159,801,262,826"/>
<area shape="rect" id="node24" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="148,850,273,876"/>
<area shape="rect" id="node25" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7e75a9fc2e7d9ca0bf62d519db50de00" title="tTaskDeleteSelf" alt="" coords="154,900,268,925"/>
<area shape="rect" id="node26" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="167,949,254,974"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="359,61,460,86"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="568,61,619,86"/>
<area shape="rect" id="node17" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="366,604,453,629"/>
<area shape="rect" id="node18" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="366,653,452,678"/>
<area shape="rect" id="node19" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="541,653,646,678"/>
</map>
</div>

</div>
</div>
<a id="ga6df36bc0539da24c9391099f55d1d710"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6df36bc0539da24c9391099f55d1d710">&#9670;&nbsp;</a></span>tTaskSchedDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSchedDisable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>禁止任务调度 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00064">64</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="188,5,313,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="193,55,308,80"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6df36bc0539da24c9391099f55d1d710_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="188,5,289,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="337,5,387,31"/>
</map>
</div>

</div>
</div>
<a id="ga278230ba5b792cfe8310c110ec638e77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga278230ba5b792cfe8310c110ec638e77">&#9670;&nbsp;</a></span>tTaskSchedEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSchedEnable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>允许任务调度 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00077">77</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="329,5,454,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="185,107,275,132"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="334,56,449,81"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca" title="获取当前最高优先级且可运行的任务 " alt="" coords="323,105,460,131"/>
<area shape="rect" id="node9" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#gaf5f3298fd391c362d819f3a765834091" title="tHooksTaskSwitch" alt="" coords="327,155,456,180"/>
<area shape="rect" id="node10" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d" title="tTaskSwitch" alt="" coords="346,204,437,229"/>
<area shape="rect" id="node6" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="508,81,642,107"/>
<area shape="rect" id="node8" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="539,131,610,156"/>
<area shape="rect" id="node7" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="690,81,815,107"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga278230ba5b792cfe8310c110ec638e77_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="185,5,353,31"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="219,55,319,80"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="401,55,451,80"/>
</map>
</div>

</div>
</div>
<a id="ga9be6ec7675bc849423bb28132c6f3474"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9be6ec7675bc849423bb28132c6f3474">&#9670;&nbsp;</a></span>tTaskSchedInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSchedInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化调度器 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00051">51</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_cgraph">
<area shape="rect" id="node2" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gabe65280030fc295bb9eecc4a8672544f" title="tBitmapInit" alt="" coords="161,5,246,31"/>
<area shape="rect" id="node3" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gab4cbecbc9ce397733c027de83ce17f81" title="tListInit" alt="" coords="172,55,235,80"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9be6ec7675bc849423bb28132c6f3474_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="161,5,212,31"/>
</map>
</div>

</div>
</div>
<a id="gab7c2dfbda696e43a8c35ab97731837a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab7c2dfbda696e43a8c35ab97731837a0">&#9670;&nbsp;</a></span>tTaskSchedRdy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSchedRdy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将任务设置为就绪状态 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>等待设置为就绪状态的任务 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00093">93</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga6278d548e9b37d514acbebc25617f1b6" title="tListAddLast" alt="" coords="167,5,262,31"/>
<area shape="rect" id="node3" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga77e6ff906f4751ea7f055562b94cad54" title="tBitmapSet" alt="" coords="171,55,258,80"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gab7c2dfbda696e43a8c35ab97731837a0_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="167,67,335,92"/>
<area shape="rect" id="node3" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gae1e675e01faa9fd2a37ab29b2092d646" title="tEventWakeUp" alt="" coords="196,116,306,141"/>
<area shape="rect" id="node6" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="402,153,498,179"/>
<area shape="rect" id="node11" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gaf035c08c00e607bf3019020ee09bf3c8" title="tEventWakeUpTask" alt="" coords="182,251,320,276"/>
<area shape="rect" id="node12" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gace850c06cc2fc2f07296e1eb4552030a" title="tEventRemoveAll" alt="" coords="189,300,313,325"/>
<area shape="rect" id="node16" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="396,400,503,425"/>
<area shape="rect" id="node18" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="207,401,295,427"/>
<area shape="rect" id="node19" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga639ee038febea3c977d37585fcc8a573" title="tTaskInit" alt="" coords="216,451,286,476"/>
<area shape="rect" id="node23" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gac08bc12c30a810c1ec5c48f330fd509a" title="tTaskWakeUp" alt="" coords="200,500,303,525"/>
<area shape="rect" id="node4" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="404,5,496,31"/>
<area shape="rect" id="node5" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="389,55,511,80"/>
<area shape="rect" id="node7" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="407,104,493,129"/>
<area shape="rect" id="node8" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="572,80,659,105"/>
<area shape="rect" id="node9" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="572,129,658,155"/>
<area shape="rect" id="node10" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="713,129,818,155"/>
<area shape="rect" id="node13" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="383,203,517,228"/>
<area shape="rect" id="node14" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="398,252,502,277"/>
<area shape="rect" id="node15" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="383,301,516,327"/>
<area shape="rect" id="node17" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="401,351,499,376"/>
<area shape="rect" id="node20" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="741,476,791,501"/>
<area shape="rect" id="node21" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga6013a8ecf7fc98794f130d4bfb5f6402" title="tTimerInitTask" alt="" coords="398,501,502,527"/>
<area shape="rect" id="node22" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="565,501,665,527"/>
</map>
</div>

</div>
</div>
<a id="gae85f17694aea45697d37b787702822ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae85f17694aea45697d37b787702822ad">&#9670;&nbsp;</a></span>tTaskSchedRemove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSchedRemove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将任务从就绪列表中移除 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>等待移除的任务 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00115">115</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga58e2fef327c5254062441ec2f8a101a6" title="tListRemove" alt="" coords="195,5,290,31"/>
<area shape="rect" id="node3" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gad01c0c24187a334e78e7ba6d677306cb" title="tListCount" alt="" coords="202,55,283,80"/>
<area shape="rect" id="node4" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga63a37ae88a06249de873bb54340de517" title="tBitmapClear" alt="" coords="193,104,292,129"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_gae85f17694aea45697d37b787702822ad_icgraph">
<area shape="rect" id="node2" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="193,5,318,31"/>
<area shape="rect" id="node3" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7e75a9fc2e7d9ca0bf62d519db50de00" title="tTaskDeleteSelf" alt="" coords="199,55,313,80"/>
</map>
</div>

</div>
</div>
<a id="ga6f3aa47609478099b79d1520a9baf9b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f3aa47609478099b79d1520a9baf9b3">&#9670;&nbsp;</a></span>tTaskSchedUnRdy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSchedUnRdy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将任务从就绪列表中移除 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>等待取消就绪的任务 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00102">102</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga58e2fef327c5254062441ec2f8a101a6" title="tListRemove" alt="" coords="186,5,281,31"/>
<area shape="rect" id="node3" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gad01c0c24187a334e78e7ba6d677306cb" title="tListCount" alt="" coords="193,55,274,80"/>
<area shape="rect" id="node4" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga63a37ae88a06249de873bb54340de517" title="tBitmapClear" alt="" coords="184,104,283,129"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga6f3aa47609478099b79d1520a9baf9b3_icgraph">
<area shape="rect" id="node2" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga0bbda829b0d83072138caad66f98899a" title="tEventWait" alt="" coords="195,103,281,128"/>
<area shape="rect" id="node5" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="353,153,440,179"/>
<area shape="rect" id="node10" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="190,204,286,229"/>
<area shape="rect" id="node11" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="184,253,292,279"/>
<area shape="rect" id="node12" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga9b1df557da8292af30d6ff42b48e0755" title="tTaskSuspend" alt="" coords="185,303,291,328"/>
<area shape="rect" id="node13" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="195,352,281,377"/>
<area shape="rect" id="node3" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="354,5,438,31"/>
<area shape="rect" id="node4" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="340,55,453,80"/>
<area shape="rect" id="node6" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="357,104,436,129"/>
<area shape="rect" id="node7" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="501,80,588,105"/>
<area shape="rect" id="node8" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="501,129,587,155"/>
<area shape="rect" id="node9" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="636,129,740,155"/>
</map>
</div>

</div>
</div>
<a id="ga0cd2c487eac7429325389fa3ee59867d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0cd2c487eac7429325389fa3ee59867d">&#9670;&nbsp;</a></span>tTaskSwitch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSwitch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>进行一次任务切换，tinyOS会预先配置好currentTask和nextTask, 然后调用该函数，切换至nextTask运行 </p>

<p class="definition">Definition at line <a class="el" href="t_switch_8c_source.html#l00100">100</a> of file <a class="el" href="t_switch_8c_source.html">tSwitch.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0cd2c487eac7429325389fa3ee59867d_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0cd2c487eac7429325389fa3ee59867d_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0cd2c487eac7429325389fa3ee59867d_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga0cd2c487eac7429325389fa3ee59867d_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="145,481,235,506"/>
<area shape="rect" id="node3" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="284,61,416,86"/>
<area shape="rect" id="node4" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="465,12,633,37"/>
<area shape="rect" id="node7" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="283,110,417,136"/>
<area shape="rect" id="node8" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="308,160,392,185"/>
<area shape="rect" id="node9" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="304,209,396,234"/>
<area shape="rect" id="node10" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="299,258,402,284"/>
<area shape="rect" id="node11" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="294,308,407,333"/>
<area shape="rect" id="node12" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="290,357,411,382"/>
<area shape="rect" id="node13" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="284,406,417,432"/>
<area shape="rect" id="node14" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="307,456,394,481"/>
<area shape="rect" id="node15" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="303,505,398,530"/>
<area shape="rect" id="node16" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="297,554,404,580"/>
<area shape="rect" id="node17" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="311,604,390,629"/>
<area shape="rect" id="node21" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="307,653,394,678"/>
<area shape="rect" id="node22" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="301,702,399,728"/>
<area shape="rect" id="node23" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga9b1df557da8292af30d6ff42b48e0755" title="tTaskSuspend" alt="" coords="298,752,403,777"/>
<area shape="rect" id="node24" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gac08bc12c30a810c1ec5c48f330fd509a" title="tTaskWakeUp" alt="" coords="299,801,402,826"/>
<area shape="rect" id="node25" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="288,850,413,876"/>
<area shape="rect" id="node26" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7e75a9fc2e7d9ca0bf62d519db50de00" title="tTaskDeleteSelf" alt="" coords="293,900,407,925"/>
<area shape="rect" id="node27" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="307,949,394,974"/>
<area shape="rect" id="node5" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga1949c76c0bc7d4b976d447fbaa947f53" title="空闲任务 " alt="" coords="499,61,599,86"/>
<area shape="rect" id="node6" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="708,61,758,86"/>
<area shape="rect" id="node18" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="506,604,592,629"/>
<area shape="rect" id="node19" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="506,653,592,678"/>
<area shape="rect" id="node20" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="681,653,785,678"/>
</map>
</div>

</div>
</div>
<a id="ga9141328add126e3c2659b2df4b969d3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9141328add126e3c2659b2df4b969d3c">&#9670;&nbsp;</a></span>tTaskSystemTickHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTaskSystemTickHandler </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>系统时钟节拍处理 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00203">203</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9141328add126e3c2659b2df4b969d3c_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9141328add126e3c2659b2df4b969d3c_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9141328add126e3c2659b2df4b969d3c_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga9141328add126e3c2659b2df4b969d3c_cgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab4d6c802c474b9071f48312bed3dec74" title="tTaskEnterCritical" alt="" coords="619,165,744,190"/>
<area shape="rect" id="node3" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga9203dd58a7f2dafed784c397861dd203" title="tListFirst" alt="" coords="829,369,900,394"/>
<area shape="rect" id="node4" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gad01c0c24187a334e78e7ba6d677306cb" title="tListCount" alt="" coords="248,520,330,545"/>
<area shape="rect" id="node5" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga8d21f6237cc8ac3ec38687e1f7fa4999" title="tEventRemoveTask" alt="" coords="221,210,357,236"/>
<area shape="rect" id="node7" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga21b4efbc4cb710d7d0e71678d2b13e53" title="tTaskExitCritical" alt="" coords="624,368,739,393"/>
<area shape="rect" id="node8" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga8fae81368ec5f5254d5460162bbaceea" title="tListNext" alt="" coords="252,569,326,594"/>
<area shape="rect" id="node9" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga5086649a1a0f0337850b059e6d28807e" title="将延时的任务从延时队列中唤醒 " alt="" coords="223,136,355,161"/>
<area shape="rect" id="node10" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gab7c2dfbda696e43a8c35ab97731837a0" title="将任务设置为就绪状态 " alt="" coords="232,670,346,696"/>
<area shape="rect" id="node11" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga6278d548e9b37d514acbebc25617f1b6" title="tListAddLast" alt="" coords="438,620,533,645"/>
<area shape="rect" id="node13" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gaf2dc8b31ed5ec5aac0b7bebc21448a78" title="tListRemoveFirst" alt="" coords="228,720,350,745"/>
<area shape="rect" id="node14" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#gae4ae5ad72b29fa9cfcf5444de2d3be63" title="tTimerModuleTickNotify" alt="" coords="405,65,565,90"/>
<area shape="rect" id="node15" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#ga4ecec95f33f3d06cd03c743bb3fbe3ce" title="tHooksSysTick" alt="" coords="234,769,343,794"/>
<area shape="rect" id="node16" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gaeb48f2b93febc962f23d9a6a72db9d8e" title="任务调度接口。通过它来选择下一个具体的任务，然后切换至该任务运行。 " alt="" coords="440,266,530,292"/>
<area shape="rect" id="node22" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga278230ba5b792cfe8310c110ec638e77" title="允许任务调度 " alt="" coords="223,278,355,304"/>
<area shape="rect" id="node23" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gad5542021022dfa330f2c2fe68b057677" title="tCpuUsageGet" alt="" coords="234,818,344,844"/>
<area shape="rect" id="node6" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga58e2fef327c5254062441ec2f8a101a6" title="tListRemove" alt="" coords="438,114,533,140"/>
<area shape="rect" id="node12" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga77e6ff906f4751ea7f055562b94cad54" title="tBitmapSet" alt="" coords="442,670,529,696"/>
<area shape="rect" id="node17" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gac9f0cf7d9a8b992eb7f43c84aeb1ddca" title="获取当前最高优先级且可运行的任务 " alt="" coords="613,218,750,244"/>
<area shape="rect" id="node20" href="group___hooks_xE6_x89_xA9_xE5_xB1_x95.html#gaf5f3298fd391c362d819f3a765834091" title="tHooksTaskSwitch" alt="" coords="617,268,746,293"/>
<area shape="rect" id="node21" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga0cd2c487eac7429325389fa3ee59867d" title="tTaskSwitch" alt="" coords="636,317,727,342"/>
<area shape="rect" id="node18" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#gae86fbb239ac4694acf71b11c7cc6b479" title="tBitmapGetFirstSet" alt="" coords="798,218,932,244"/>
<area shape="rect" id="node19" href="group___xE4_xBD_x8D_xE5_x9B_xBE_xE7_xBB_x93_xE6_x9E_x84.html#ga24bbbd4e9273fa00e125cbf600c851c1" title="tBitmapPosCount" alt="" coords="980,218,1105,244"/>
</map>
</div>

</div>
</div>
<a id="ga691c421f369dba6c9e2015076262d377"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga691c421f369dba6c9e2015076262d377">&#9670;&nbsp;</a></span>tTimeTaskRemove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTimeTaskRemove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将延时的任务从延时队列中移除 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>需要移除的任务 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00189">189</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga58e2fef327c5254062441ec2f8a101a6" title="tListRemove" alt="" coords="185,5,280,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga691c421f369dba6c9e2015076262d377_icgraph">
<area shape="rect" id="node2" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad4f55f0276a954401641c0972f0020e3" title="tTaskForceDelete" alt="" coords="185,5,310,31"/>
</map>
</div>

</div>
</div>
<a id="ga1f612696830f8adeb411745ff719377c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1f612696830f8adeb411745ff719377c">&#9670;&nbsp;</a></span>tTimeTaskWait()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTimeTaskWait </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ticks</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将任务加入延时队列中 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>需要延时的任务 </td></tr>
    <tr><td class="paramname">ticks</td><td>延时的ticks </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00167">167</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga6278d548e9b37d514acbebc25617f1b6" title="tListAddLast" alt="" coords="161,5,256,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga1f612696830f8adeb411745ff719377c_icgraph">
<area shape="rect" id="node2" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#ga0bbda829b0d83072138caad66f98899a" title="tEventWait" alt="" coords="162,80,247,105"/>
<area shape="rect" id="node10" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga7851f5bca32151d048fdf5a76e957673" title="tTaskDelay" alt="" coords="161,129,248,155"/>
<area shape="rect" id="node3" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga23993f613e24cf58555aae3b7606722d" title="tMboxWait" alt="" coords="310,5,394,31"/>
<area shape="rect" id="node4" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga1ffdf77b2ef5b1e59f0738c018747af5" title="tMemBlockWait" alt="" coords="296,55,409,80"/>
<area shape="rect" id="node5" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga2608713c70ae2de620f39566c023abe9" title="tMutexWait" alt="" coords="309,104,396,129"/>
<area shape="rect" id="node6" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga9946734436c2a1ab849654a72e0de0ce" title="tSemWait" alt="" coords="313,153,392,179"/>
<area shape="rect" id="node7" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="457,128,544,153"/>
<area shape="rect" id="node8" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="457,177,544,203"/>
<area shape="rect" id="node9" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="592,177,696,203"/>
</map>
</div>

</div>
</div>
<a id="ga5086649a1a0f0337850b059e6d28807e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5086649a1a0f0337850b059e6d28807e">&#9670;&nbsp;</a></span>tTimeTaskWakeUp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTimeTaskWakeUp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将延时的任务从延时队列中唤醒 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>需要唤醒的任务 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00177">177</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_cgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_cgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_cgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_cgraph">
<area shape="rect" id="node2" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#ga58e2fef327c5254062441ec2f8a101a6" title="tListRemove" alt="" coords="186,5,281,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga5086649a1a0f0337850b059e6d28807e_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#ga9141328add126e3c2659b2df4b969d3c" title="系统时钟节拍处理 " alt="" coords="186,55,353,80"/>
<area shape="rect" id="node3" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gae1e675e01faa9fd2a37ab29b2092d646" title="tEventWakeUp" alt="" coords="214,104,324,129"/>
<area shape="rect" id="node11" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gaf035c08c00e607bf3019020ee09bf3c8" title="tEventWakeUpTask" alt="" coords="201,153,338,179"/>
<area shape="rect" id="node12" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_x8E_xA7_xE5_x88_xB6_xE5_x9D_x97.html#gace850c06cc2fc2f07296e1eb4552030a" title="tEventRemoveAll" alt="" coords="208,276,331,301"/>
<area shape="rect" id="node4" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga77710ad1a67a5bdfe7a918cfd3b1ae6a" title="tMboxNotify" alt="" coords="422,5,514,31"/>
<area shape="rect" id="node5" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#ga7d3a796b2adc7cae76cdc6dd4eadc3d6" title="tMemBlockNotify" alt="" coords="407,55,529,80"/>
<area shape="rect" id="node6" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gad192db653abe0e792860dccd9e4050ba" title="tMutexNotify" alt="" coords="420,104,516,129"/>
<area shape="rect" id="node7" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga7222219d3c608a5f9b941e17b1872731" title="tSemNotify" alt="" coords="425,153,511,179"/>
<area shape="rect" id="node8" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7a8932a1c16f4eb96e7a0620272d846e" title="tTimerStart" alt="" coords="583,129,670,155"/>
<area shape="rect" id="node9" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga7090133d856e1d8bfa5d619e7be397cb" title="tTimerStop" alt="" coords="583,179,669,204"/>
<area shape="rect" id="node10" href="group___xE8_xBD_xAF_xE5_xAE_x9A_xE6_x97_xB6_xE5_x99_xA8.html#ga34c554ef3abd95f382165dae86122aef" title="tTimerDestroy" alt="" coords="718,179,822,204"/>
<area shape="rect" id="node13" href="group___xE4_xBA_x8B_xE4_xBB_xB6_xE6_xA0_x87_xE5_xBF_x97_xE7_xBB_x84.html#ga2cccf23bbc1983be59ae880671ff3c8f" title="tFlagGroupDestroy" alt="" coords="401,203,535,228"/>
<area shape="rect" id="node14" href="group___xE9_x82_xAE_xE7_xAE_xB1.html#ga3473c47a3e47521c023738edf046252f" title="tMboxDestroy" alt="" coords="416,252,520,277"/>
<area shape="rect" id="node15" href="group___xE5_xAD_x98_xE5_x82_xA8_xE5_x9D_x97.html#gaee9913bc670870b17fa9dd86e125d1fe" title="tMemBlockDestroy" alt="" coords="401,301,535,327"/>
<area shape="rect" id="node16" href="group___xE4_xBA_x92_xE6_x96_xA5_xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#ga8e1b65bea50a87032971eb167d411723" title="tMutexDestroy" alt="" coords="414,351,522,376"/>
<area shape="rect" id="node17" href="group___xE4_xBF_xA1_xE5_x8F_xB7_xE9_x87_x8F.html#gab00399e50380c504049be19c6e5f81ab" title="tSemDestroy" alt="" coords="419,400,517,425"/>
</map>
</div>

</div>
</div>
<a id="ga078fb00f5d526b8036ca75e2357d34f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga078fb00f5d526b8036ca75e2357d34f6">&#9670;&nbsp;</a></span>tTimeTickInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tTimeTickInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化时钟节拍计数 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00196">196</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga078fb00f5d526b8036ca75e2357d34f6_icgraph.png" border="0" usemap="#group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga078fb00f5d526b8036ca75e2357d34f6_icgraph" alt=""/></div>
<map name="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga078fb00f5d526b8036ca75e2357d34f6_icgraph" id="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83_ga078fb00f5d526b8036ca75e2357d34f6_icgraph">
<area shape="rect" id="node2" href="group___xE5_x86_x85_xE6_xA0_xB8_xE6_xA0_xB8_xE5_xBF_x83.html#gae66f6b31b5ad750f1fe042a706a4e3d4" title="系统入口，完成所有功能的创建，空闲任务的创建等功能 " alt="" coords="149,5,199,31"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ga6f232fb9d8361d1071e4f621468e0ee1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f232fb9d8361d1071e4f621468e0ee1">&#9670;&nbsp;</a></span>currentTask <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a>* currentTask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当前任务：记录当前是哪个任务正在运行 </p>
<p>当前任务：记录当前是哪个任务正在运行 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00017">17</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="ga6f232fb9d8361d1071e4f621468e0ee1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f232fb9d8361d1071e4f621468e0ee1">&#9670;&nbsp;</a></span>currentTask <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a>* currentTask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当前任务：记录当前是哪个任务正在运行 </p>
<p>当前任务：记录当前是哪个任务正在运行 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00017">17</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="ga9979e3c27f522bb6d13cff22efd2e488"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9979e3c27f522bb6d13cff22efd2e488">&#9670;&nbsp;</a></span>idleCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t idleCount</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>空闲任务计数 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00029">29</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gaba65b5ed5e394f5ca1f346b4a53364cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaba65b5ed5e394f5ca1f346b4a53364cf">&#9670;&nbsp;</a></span>idleMaxCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t idleMaxCount</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>空闲任务最大计数 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00030">30</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gaf3460a277b7b61d00c62e530841f0b70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf3460a277b7b61d00c62e530841f0b70">&#9670;&nbsp;</a></span>idleTask</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a>* idleTask</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>空闲任务 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00019">19</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gaedc80c4a7812a30e8ad1ee19b6b83985"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaedc80c4a7812a30e8ad1ee19b6b83985">&#9670;&nbsp;</a></span>idleTaskEnv</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#gad85a7244ee07814c23914d3cfcc91412">tTaskStack</a> idleTaskEnv[TINYOS_IDLETASK_STACK_SIZE]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>空闲任务堆栈 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00334">334</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="ga159b80359c1c58e1541a4f037178b6c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga159b80359c1c58e1541a4f037178b6c4">&#9670;&nbsp;</a></span>nextTask <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a>* nextTask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>下一个将即运行的任务：在进行任务切换前，先设置好该值，然后任务切换过程中会从中读取下一任务信息 </p>
<p>下一个将即运行的任务： </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00018">18</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="ga159b80359c1c58e1541a4f037178b6c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga159b80359c1c58e1541a4f037178b6c4">&#9670;&nbsp;</a></span>nextTask <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a>* nextTask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>下一个将即运行的任务：在进行任务切换前，先设置好该值，然后任务切换过程中会从中读取下一任务信息 </p>
<p>下一个将即运行的任务： </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00018">18</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gade0d53c8948da99a0d522eedb3ebf92a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gade0d53c8948da99a0d522eedb3ebf92a">&#9670;&nbsp;</a></span>schedLockCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t schedLockCount</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>调度锁计数器 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00024">24</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="ga8dd55eddb8821fa31ab3a5013f454460"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8dd55eddb8821fa31ab3a5013f454460">&#9670;&nbsp;</a></span>taskPrioBitmap</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structt_bitmap.html">tBitmap</a> taskPrioBitmap</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>任务优先级的标记位置结构 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00021">21</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gaa85dbbfc25d84923e1ad01b8bf0a145b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa85dbbfc25d84923e1ad01b8bf0a145b">&#9670;&nbsp;</a></span>taskTable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gaf67ae10d1af8ef6784e2c4ff16326d02">tList</a> taskTable[TINYOS_PRO_COUNT]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>所有任务的指针数组 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00022">22</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gaf4fc7964f7a64a2a55f189f4533015f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4fc7964f7a64a2a55f189f4533015f4">&#9670;&nbsp;</a></span>tickCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t tickCount</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>时钟节拍计数 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00025">25</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="gad9af0df180405c517289be866c86edce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad9af0df180405c517289be866c86edce">&#9670;&nbsp;</a></span>tTaskDelayedList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_x8F_x8C_xE5_x90_x91_xE9_x93_xBE_xE8_xA1_xA8.html#gaf67ae10d1af8ef6784e2c4ff16326d02">tList</a> tTaskDelayedList</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>延时队列 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00027">27</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
<a id="ga0219bd8d3d04c056d653e119239ae923"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0219bd8d3d04c056d653e119239ae923">&#9670;&nbsp;</a></span>tTaskIdle</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE4_xBB_xBB_xE5_x8A_xA1_xE7_xAE_xA1_xE7_x90_x86.html#ga6ea4613577781b54cedcdf93d8c829bd">tTask</a> tTaskIdle</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>空闲任务结构 </p>

<p class="definition">Definition at line <a class="el" href="t_core_8c_source.html#l00333">333</a> of file <a class="el" href="t_core_8c_source.html">tCore.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
